'use strict';
var even_asc_odd_desc = function(collection){
    let arr_even = collection.filter((item) => 
    (item %2 === 0)).sort((a,b)=>
    (a-b));
    let arr_odd = collection.filter((item) => 
    (item %2 !== 0)).sort((b,a)=>
    (a-b));
    return arr_even.concat(arr_odd);
};
module.exports = even_asc_odd_desc;
// var collection_a = [4, 32, 12, 45, 67, 46, 2, 53, 68, 54, 11];
// console.log(even_asc_odd_desc(collection_a));